<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Animator test</title>
</head>

<body>
    <div id="app"></div>
    <button type='button' onclick="restart()">start/restart animation</button>
    <button type='button' onclick="ani.stop()">stop animation</button>
    <button type='button' onclick="ani.cancel()">cancel animation</button>
    <script src="./animator.js" type="module"></script>
    <script src="./index.js" type="module"></script>
</body>

</html>